<%@ page contentType="text/html;charset=UTF-8"%>


<html>
<head>
<script src="/wms/static/js/jquery.bootpag.min.js"></script>
</head>
<body>
  <div id="content">Dynamic Content goes here</div>
  <div id="page-selection">Pagination goes here</div>
 

<script>

  $('#page-selection').bootpag({
       total: 5
  }).on("page", function(event,num){
      alert(num);
      $("#content").html(num);
  });
   
</script>

</body>
</html>